package zhou.teamwork07;


public class User {
	
	String username;
	String password2;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password2;
	}

	public void setPassword(String password) {
		this.password2 = password;
	}
	
	
//真实项目应该把方法放出去
	boolean equalsName(String yourNameLog){
		 
	  return this.username.equals(yourNameLog);
	}
	  
   boolean equalsPassword(String yourPassLog){
		  
	 return this.password2.equals(yourPassLog);

}

//	public boolean equalsPassword(String yourPassLog) {
//		// TODO Auto-generated method stub
//		return false;
//	}
}